/* ViewpointCard样式 */

.viewpoint-card {
  height: 100%;
  transition: all 0.3s ease;
}

.viewpoint-card.selected {
  border-color: #1890ff;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.viewpoint-card.generating {
  opacity: 0.9;
}

.viewpoint-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 卡片标题 */
.viewpoint-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* 观点内容 */
.viewpoint-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 章节标题 */
.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px;
}

.section-content {
  font-size: 14px;
  color: #595959;
  line-height: 1.6;
}

/* 核心观点 */
.core-viewpoint {
  padding: 12px;
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f5ff 100%);
  border-left: 4px solid #1890ff;
  border-radius: 4px;
}

.core-viewpoint .section-content {
  font-size: 15px;
  font-weight: 500;
  color: #262626;
}

/* 论据列表 */
.arguments-section {
  padding: 12px;
  background: #fafafa;
  border-radius: 4px;
}

.arguments-list {
  margin: 0;
  padding-left: 20px;
}

.argument-item {
  font-size: 14px;
  color: #595959;
  line-height: 1.8;
  margin-bottom: 8px;
}

.argument-item:last-child {
  margin-bottom: 0;
}

/* 场景和效果 */
.scenario-section,
.effect-section {
  padding: 12px;
  background: #f6ffed;
  border-left: 3px solid #52c41a;
  border-radius: 4px;
  margin-bottom: 12px;
}

.effect-section {
  background: #fff7e6;
  border-left-color: #faad14;
}

/* AI评分 */
.ai-score-section {
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
  margin-top: 16px;
}

.score-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.score-label {
  font-size: 14px;
  font-weight: 500;
  color: #595959;
}

.score-value {
  font-size: 20px;
  font-weight: 600;
  color: #faad14;
  margin-left: auto;
}

.score-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.score-item {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 8px;
}

.score-item-label {
  font-size: 12px;
  color: #8c8c8c;
}

.score-item-value {
  font-size: 12px;
  font-weight: 500;
  color: #595959;
  text-align: right;
}

.score-reason {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.6;
}

.score-reason-label {
  font-weight: 500;
  color: #595959;
}

/* 用户评分 */
.user-rating-section {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f5f5f5;
  border-radius: 4px;
  margin-top: 12px;
}

.rating-label {
  font-size: 13px;
  color: #595959;
}

/* 生成中状态 */
.generating-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
}

.stream-content {
  width: 100%;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 13px;
  color: #595959;
  line-height: 1.6;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 空内容 */
.empty-content {
  padding: 32px;
  text-align: center;
  color: #bfbfbf;
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
  .viewpoint-card-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .core-viewpoint,
  .arguments-section,
  .scenario-section,
  .effect-section {
    padding: 10px;
  }

  .section-title {
    font-size: 13px;
  }

  .section-content {
    font-size: 13px;
  }

  .score-item {
    grid-template-columns: 50px 1fr 35px;
    gap: 6px;
  }
}
